package com.blank.task08;

public abstract class AbstractPackage {

    private double monthlyRates;   //每月资费

    //无参构造
    public AbstractPackage() {
    }
    //有参构造

    public AbstractPackage(double monthlyRates) {
        setMonthlyRates(monthlyRates);

    }

    public double getMonthlyRates() {
        return monthlyRates;
    }

    public void setMonthlyRates(double monthlyRates) {
        this.monthlyRates = monthlyRates;
    }


    //显示套餐信息
    public abstract void showPackageInfo();
}
